<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表格</title>
  <style>
    table{
      width:400px;
      text-align: center;
    }
    table,table td,table th{
      border: 1px solid #444;
      border-collapse: separate;
    }
  </style>
</head>
<body>
  <div>
    <table>
      <caption>信息表</caption>
      <thead>
      <tr>
        <th>序号</th>
        <th>姓名</th>
        <th>年龄</th>
        <th>性别</th>
      </tr>
      </thead>
      <tbody>
      <tr>
        <td>1</td>
        <td>张三</td>
        <td>15</td>
        <td>男</td>
      </tr>
      <tr>
        <td>2</td>
        <td>李四</td>
        <td>18</td>
        <td>女</td>
      </tr>
      <tr>
        <td>3</td>
        <td>万维</td>
        <td>25</td>
        <td>男</td>
      </tr>
      </tbody>
    </table>
  </div>

</body>
</html>